import type {PageList, ResponseStruct} from "#/global";
import {UserSearchVo, UserVo} from "~/base/api/user.ts";

export function goodslistall(data: UserSearchVo): Promise<ResponseStruct<PageList<UserVo>>> {
  return useHttp().post('/product/goodslistall', data)
}

export function dockingMenuList(data: UserSearchVo): Promise<ResponseStruct<PageList<UserVo>>> {
  return useHttp().post('/DockManager/dockingMenuList', data)
}
export function getDockList(data: UserSearchVo): Promise<ResponseStruct<PageList<UserVo>>> {
  return useHttp().post('/DockManager/getDockList', data)
}
export function getDockingUserInfo(data: any): Promise<ResponseStruct<PageList<UserVo>>> {
  return useHttp().post('/DockManager/getDockingUserInfo', data)
}
export function categoryedit(data: any): Promise<ResponseStruct<PageList<UserVo>>> {
  return useHttp().post('/DockManager/categoryedit', data)
}
export function setdocking(data: any): Promise<ResponseStruct<PageList<UserVo>>> {
  return useHttp().post('/DockManager/setdocking', data)
}
